import {message} from "ant-design-vue";

export const successMsg = (content: any = "操作完成", duration: any = 2, key: any = "15144042132") => {
    message.success({content: content, key, duration: duration});
};
export const errorMsg = (content: any = "操作失败", duration: any = 2, key: any = "15144042132") => {
    message.error({content: content, key, duration: duration});
};
export const warningMsg = (content: any = "操作完成", duration: any = 2, key: any = "15144042132") => {
    message.warning({content: content, key, duration: duration});
};
